package com.lmc.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lmc.pojo.User;
import org.apache.ibatis.annotations.Select;

public interface UserMapper extends BaseMapper<User> {

    /**
     * 根据用户姓名查询用户账户余额
     *
     * @param name
     * @return
     */
    /*@Select("select * from user where name like #{name}")
    User selectByName(String name);

    @Select("select * from user where id = #{id};")
    User selectById(Integer id);*/

}
